Skip to content

fix: strip newlines from NO_PROXY env var values#3372

Open
Oxygen56 wants to merge 1 commit into
openai:mainfrom
Oxygen56:fix/no-proxy-newline-3303
Open

fix: strip newlines from NO_PROXY env var values#3372
Oxygen56 wants to merge 1 commit into
openai:mainfrom
Oxygen56:fix/no-proxy-newline-3303

Conversation

@Oxygen56
Copy link
Copy Markdown

@Oxygen56 Oxygen56 commented Jun 5, 2026

Strips whitespace/newlines from NO_PROXY entries to prevent InvalidURL errors.

Fixes #3303

NO_PROXY values with embedded newlines (common in Docker/K8s)
cause InvalidURL errors. Strip whitespace from each entry.

Fixes openai#3303
@Oxygen56 Oxygen56 requested a review from a team as a code owner June 5, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

InvalidURL error when NO_PROXY environment variable contains newline characters

1 participant